﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameSchoolWeb.Models
{
	public interface ICourseRepository
	{
        IQueryable<Course> Courses();
        IQueryable<Lecture> Lecture();
        IQueryable<Comment> Comments();
        IQueryable<Level> Levels();
        IQueryable<Like> Likes();
		IQueryable<Exam> Exams();
        IQueryable<Assignment> Assignments();
        IQueryable<NewsItem> NewsItems();
		IQueryable<Question> Questions();
        IQueryable<TurninInAssignment> TurnInAssignment();
		IQueryable<TurnInExam> TurnInExam();
		IQueryable<UserRegistration> UserRegistrations();

		void AddCourse(Course courseItem);
        void AddNews(NewsItem newsItem);
        void AddUserRegistration(UserRegistration UregItem);
        void AddLevels(Level levelItem);
		void AddAssignment(Assignment assignmentItem);
        void TurnInAssignment(TurninInAssignment TurnInAssignment);
        void AddExam(Exam examItem);
		void AddQuestions(Question questionItem);
		void AddTurnInExam(TurnInExam turnInExamItem);
		void AddExamTurninQuestion(ExamTurninQuestion turnInExamQuestionItem);
        void AddLecture(Lecture lectureItem);
		void Save(); 

    }

}

